<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: dom  YAHOO.widget.RecordSet   (YUI Library)</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
        <h3>dom&nbsp; <span class="subtitle">2.9.0</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_dom.html" title="dom">dom</a>
                 &gt; YAHOO.widget.RecordSet 
                
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <h2>
                        

                        
                        
                            Class <b property="yui:name">YAHOO.widget.RecordSet</b>
                        <span class="extends">
                        </span>

                    </h2>
                    <!-- class tree goes here -->
                    
                
  

                    <div class="summary description" property="yui:description">
                        A RecordSet defines and manages a set of Records.
                    </div>

                        <div class="section constructor details" rel="yui:constructor" resource="#constructor">
                        <h3 id="constructor">Constructor</h3>
                        <div class="content">
                            <div class="detail">
                                <strong property="yui:name">YAHOO.widget.RecordSet</strong>
                                <code>
                                    (
  
                                        
                                                
                                                data
                                    )
                                </code>
                                <div class="description">
                                        <dl rel="yui:parameters">
                                            <dt>Parameters:</dt>
                                                <dd rel="yui:parameter">
                                                    <code><span property="yui:name">data</span>
                                                    &lt;<span property="yui:type">Object || Object[]</span>&gt;
                                                    </code>
                                                    <span property="yui:description">  An object literal or an array of data.</span>
                                                </dd>
                                        </dl>
                                    
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div rel="yui:properties" resource="#properties">
                        <div class="section field details">
                            <h3 id="properties">Properties</h3>
                            <div class="content">
                                    <div class="private deprecated" rel="yui:property" resource="#property__length">
                                    <h4><a name="property__length" property="yui:name">_length</a>
                                        - <code>private <span property="yui:type">Number</span></code>
                                    </h4>
                                    <div class="detail">
                                        <div class="description" property="yui:description">
                                            Internal counter of how many Records are in the RecordSet.
                                        </div>
                                    </div>
     
                                        

                                    <div class="deprecated" property="yui:deprecated">
                                        <strong>Deprecated:</strong> No longer used
                                    </div>        

                                    <hr />
                                    </div>
                                    <div class="private" rel="yui:property" resource="#property__sId">
                                    <h4><a name="property__sId" property="yui:name">_sId</a>
                                        - <code>private <span property="yui:type">String</span></code>
                                    </h4>
                                    <div class="detail">
                                        <div class="description" property="yui:description">
                                            Unique String identifier assigned at instantiation.
                                        </div>
                                    </div>
     
                                        


                                    <hr />
                                    </div>
                                    <div class="private" rel="yui:property" resource="#property_RecordSet._nCount">
                                    <h4><a name="property_RecordSet._nCount" property="yui:name">RecordSet._nCount</a>
                                        - <code>private static <span property="yui:type">Number</span></code>
                                    </h4>
                                    <div class="detail">
                                        <div class="description" property="yui:description">
                                            Internal class variable to name multiple Recordset instances.
                                        </div>
                                    </div>
     
                                        


                                    <hr />
                                    </div>
                            </div>
                        </div>

                    </div>

                    <div rel="yui:methods" resource="#methods">
                        <div class="section method details">
                            <h3 id="methods">Methods</h3>
                            <div class="content">
                                    <div class="private" rel="yui:method" resource="#method__addRecord">
                                    <h4>
                                        <a name="method__addRecord">_addRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                         private 
                                        
                                        
                                        YAHOO.widget.Record
                                            <strong property="yui:name">_addRecord</strong>
                                           (
                                                
                                                        
                                                         oData
                                                    
                                                
                                                        , 
                                                         index
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Adds one Record to the RecordSet at the given index. If index is null,
then adds the Record to the end of the RecordSet.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">oData</span>
                                                        &lt;<span property="yui:type">Object</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An object literal of data.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Position index.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">A Record instance.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="private" rel="yui:method" resource="#method__deleteRecord">
                                    <h4>
                                        <a name="method__deleteRecord">_deleteRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                         private 
                                        
                                        
                                        void
                                            <strong property="yui:name">_deleteRecord</strong>
                                           (
                                                
                                                        
                                                         index
                                                    
                                                
                                                        , 
                                                         range
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Deletes Records from the RecordSet at the given index. If range is null,
then only one Record is deleted.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Position index.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">range</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) How many Records to delete</span>
                                                        </dd>
                                                </dl>



             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="private" rel="yui:method" resource="#method__init">
                                    <h4>
                                        <a name="method__init">_init</a></h4>
                                    <div class="detail" >
                                        <code>
                                         private 
                                        
                                        
                                        void
                                            <strong property="yui:name">_init</strong>
                                           (
                                                
                                                        
                                                         data
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Initializer.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">data</span>
                                                        &lt;<span property="yui:type">Object || Object[]</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An object literal or an array of data.</span>
                                                        </dd>
                                                </dl>



             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="private" rel="yui:method" resource="#method__initEvents">
                                    <h4>
                                        <a name="method__initEvents">_initEvents</a></h4>
                                    <div class="detail" >
                                        <code>
                                         private 
                                        
                                        
                                        void
                                            <strong property="yui:name">_initEvents</strong>
                                           (
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Initializes custom events.
                                        </div>

                                        <div class="description">




             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="private" rel="yui:method" resource="#method__setRecord">
                                    <h4>
                                        <a name="method__setRecord">_setRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                         private 
                                        
                                        
                                        YAHOO.widget.Record
                                            <strong property="yui:name">_setRecord</strong>
                                           (
                                                
                                                        
                                                         oData
                                                    
                                                
                                                        , 
                                                         index
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Sets/replaces one Record to the RecordSet at the given index.  Existing
Records with higher indexes are not shifted.  If no index specified, the
Record is added to the end of the RecordSet.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">oData</span>
                                                        &lt;<span property="yui:type">Object</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An object literal of data.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Position index.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">A Record instance.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_addRecord">
                                    <h4>
                                        <a name="method_addRecord">addRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record
                                            <strong property="yui:name">addRecord</strong>
                                           (
                                                
                                                        
                                                         oData
                                                    
                                                
                                                        , 
                                                         index
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Adds one Record to the RecordSet at the given index. If index is null,
then adds the Record to the end of the RecordSet.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">oData</span>
                                                        &lt;<span property="yui:type">Object</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An object literal of data.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Position index.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">A Record instance.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_addRecords">
                                    <h4>
                                        <a name="method_addRecords">addRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record[]
                                            <strong property="yui:name">addRecords</strong>
                                           (
                                                
                                                        
                                                         aData
                                                    
                                                
                                                        , 
                                                         index
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Adds multiple Records at once to the RecordSet at the given index with the
given object literal data. If index is null, then the new Records are
added to the end of the RecordSet.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">aData</span>
                                                        &lt;<span property="yui:type">Object[]</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An object literal data or an array of data object literals.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Position index.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record[]
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">An array of Record instances.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_deleteRecord">
                                    <h4>
                                        <a name="method_deleteRecord">deleteRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        Object
                                            <strong property="yui:name">deleteRecord</strong>
                                           (
                                                
                                                        
                                                         index
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Removes the Record at the given position index from the RecordSet. If a range
is also provided, removes that many Records, starting from the index. Length
of RecordSet is correspondingly shortened.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Record's RecordSet position index.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            Object
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">A copy of the data held by the deleted Record.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_deleteRecords">
                                    <h4>
                                        <a name="method_deleteRecords">deleteRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        Object[]
                                            <strong property="yui:name">deleteRecords</strong>
                                           (
                                                
                                                        
                                                         index
                                                    
                                                
                                                        , 
                                                         range
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Removes the Record at the given position index from the RecordSet. If a range
is also provided, removes that many Records, starting from the index. Length
of RecordSet is correspondingly shortened.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Record's RecordSet position index.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">range</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) How many Records to delete.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            Object[]
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">An array of copies of the data held by the deleted Records.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_getId">
                                    <h4>
                                        <a name="method_getId">getId</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        String
                                            <strong property="yui:name">getId</strong>
                                           (
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Returns unique name of the RecordSet instance.
                                        </div>

                                        <div class="description">


                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            String
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Unique name of the RecordSet instance.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_getLength">
                                    <h4>
                                        <a name="method_getLength">getLength</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        Number
                                            <strong property="yui:name">getLength</strong>
                                           (
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Returns the number of Records held in the RecordSet.
                                        </div>

                                        <div class="description">


                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            Number
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Number of records in the RecordSet.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_getRecord">
                                    <h4>
                                        <a name="method_getRecord">getRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record
                                            <strong property="yui:name">getRecord</strong>
                                           (
                                                
                                                        
                                                         record
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Returns Record by ID or RecordSet position index.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">record</span>
                                                        &lt;<span property="yui:type">YAHOO.widget.Record | Number | String</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Record instance,
RecordSet position index, or Record ID.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Record object.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_getRecordIndex">
                                    <h4>
                                        <a name="method_getRecordIndex">getRecordIndex</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        Number
                                            <strong property="yui:name">getRecordIndex</strong>
                                           (
                                                
                                                        
                                                         oRecord
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Returns current position index for the given Record.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">oRecord</span>
                                                        &lt;<span property="yui:type">YAHOO.widget.Record</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Record instance.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            Number
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Record's RecordSet position index.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_getRecords">
                                    <h4>
                                        <a name="method_getRecords">getRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record[]
                                            <strong property="yui:name">getRecords</strong>
                                           (
                                                
                                                        
                                                         index
                                                    
                                                
                                                        , 
                                                         range
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Returns an array of Records from the RecordSet.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Recordset position index of which Record to
start at.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">range</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Number of Records to get.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record[]
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Array of Records starting at given index and
length equal to given range. If index is not given, all Records are returned.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_hasRecords">
                                    <h4>
                                        <a name="method_hasRecords">hasRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        Boolean
                                            <strong property="yui:name">hasRecords</strong>
                                           (
                                                
                                                        
                                                         index
                                                    
                                                
                                                        , 
                                                         range
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Returns a boolean indicating whether Records exist in the RecordSet at the
specified index range.  Returns true if and only if a Record exists at each
index in the range.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">object</span>&gt;
                                                        </code>
                                                        <span property="yui:description"></span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">range</span>
                                                        &lt;<span property="yui:type">object</span>&gt;
                                                        </code>
                                                        <span property="yui:description"></span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            Boolean
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">true if all indices are populated in the RecordSet</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_replaceRecords">
                                    <h4>
                                        <a name="method_replaceRecords">replaceRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record || YAHOO.widget.Record[]
                                            <strong property="yui:name">replaceRecords</strong>
                                           (
                                                
                                                        
                                                         data
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Replaces all Records in RecordSet with new object literal data.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">data</span>
                                                        &lt;<span property="yui:type">Object || Object[]</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An object literal of data or an array of
data object literals.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record || YAHOO.widget.Record[]
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">A Record instance or
an array of Records.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_reset">
                                    <h4>
                                        <a name="method_reset">reset</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        void
                                            <strong property="yui:name">reset</strong>
                                           (
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Deletes all Records from the RecordSet.
                                        </div>

                                        <div class="description">




             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_reverseRecords">
                                    <h4>
                                        <a name="method_reverseRecords">reverseRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record[]
                                            <strong property="yui:name">reverseRecords</strong>
                                           (
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Reverses all Records, so ["one", "two", "three"] becomes ["three", "two", "one"].
                                        </div>

                                        <div class="description">


                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record[]
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Reverse-sorted array of Records.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_setRecord">
                                    <h4>
                                        <a name="method_setRecord">setRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record
                                            <strong property="yui:name">setRecord</strong>
                                           (
                                                
                                                        
                                                         oData
                                                    
                                                
                                                        , 
                                                         index
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Sets or replaces one Record to the RecordSet at the given index. Unlike
addRecord, an existing Record at that index is not shifted to preserve it.
If no index is specified, it adds the Record to the end of the RecordSet.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">oData</span>
                                                        &lt;<span property="yui:type">Object</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An object literal of data.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Position index.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">A Record instance.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_setRecords">
                                    <h4>
                                        <a name="method_setRecords">setRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record[]
                                            <strong property="yui:name">setRecords</strong>
                                           (
                                                
                                                        
                                                         aData
                                                    
                                                
                                                        , 
                                                         index
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Sets or replaces multiple Records at once to the RecordSet with the given
data, starting at the given index. If index is not specified, then the new
Records are added to the end of the RecordSet.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">aData</span>
                                                        &lt;<span property="yui:type">Object[]</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  An array of object literal data.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">index</span>
                                                        &lt;<span property="yui:type">Number</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  (optional) Position index.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record[]
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">An array of Record instances.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_sortRecords">
                                    <h4>
                                        <a name="method_sortRecords">sortRecords</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record[]
                                            <strong property="yui:name">sortRecords</strong>
                                           (
                                                
                                                        
                                                         fnSort
                                                    
                                                
                                                        , 
                                                         desc
                                                    
                                                
                                                        , 
                                                         field
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Sorts all Records by given function. Records keep their unique IDs but will
have new RecordSet position indexes.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">fnSort</span>
                                                        &lt;<span property="yui:type">Function</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Reference to a sort function.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">desc</span>
                                                        &lt;<span property="yui:type">Boolean</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  True if sort direction is descending, false if sort
direction is ascending.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">field</span>
                                                        &lt;<span property="yui:type">String</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  The field to sort by, from sortOptions.field</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record[]
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Sorted array of Records.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_toString">
                                    <h4>
                                        <a name="method_toString">toString</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        String
                                            <strong property="yui:name">toString</strong>
                                           (
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Public accessor to the unique name of the RecordSet instance.
                                        </div>

                                        <div class="description">


                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            String
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Unique name of the RecordSet instance.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class=" deprecated" rel="yui:method" resource="#method_updateKey">
                                    <h4>
                                        <a name="method_updateKey">updateKey</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        void
                                            <strong property="yui:name">updateKey</strong>
                                           (
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            
                                        </div>

                                        <div class="description">




             
                                            <div class="deprecated">
                                                <strong>Deprecated</strong> Use updateRecordValue
                                            </div>        

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_updateRecord">
                                    <h4>
                                        <a name="method_updateRecord">updateRecord</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        YAHOO.widget.Record
                                            <strong property="yui:name">updateRecord</strong>
                                           (
                                                
                                                        
                                                         record
                                                    
                                                
                                                        , 
                                                         oData
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Updates given Record with given data.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">record</span>
                                                        &lt;<span property="yui:type">YAHOO.widget.Record | Number | String</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  A Record instance,
a RecordSet position index, or a Record ID.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">oData</span>
                                                        &lt;<span property="yui:type">Object</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Object literal of new data.</span>
                                                        </dd>
                                                </dl>

                                                <dl>
                                                    <dt>Returns:
                                                    <code property="yui:return">
                                                            YAHOO.widget.Record
                                                    </code></dt>
                                                    <dd property="yui:returnInfo">Updated Record, or null.</dd>
                                                </dl>


             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:method" resource="#method_updateRecordValue">
                                    <h4>
                                        <a name="method_updateRecordValue">updateRecordValue</a></h4>
                                    <div class="detail" >
                                        <code>
                                        
                                        
                                        
                                        void
                                            <strong property="yui:name">updateRecordValue</strong>
                                           (
                                                
                                                        
                                                         record
                                                    
                                                
                                                        , 
                                                         sKey
                                                    
                                                
                                                        , 
                                                         oData
                                                    
                                                
                                            )
                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Sets given Record at given key to given data.
                                        </div>

                                        <div class="description">

                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">record</span>
                                                        &lt;<span property="yui:type">YAHOO.widget.Record | Number | String</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  A Record instance,
a RecordSet position index, or a Record ID.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">sKey</span>
                                                        &lt;<span property="yui:type">String</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  Key name.</span>
                                                        </dd>
                                                        <dd rel="yui:parameter">
                                                        <code><span property="yui:name">oData</span>
                                                        &lt;<span property="yui:type">Object</span>&gt;
                                                        </code>
                                                        <span property="yui:description">  New data.</span>
                                                        </dd>
                                                </dl>



             

                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                            </div>
                        </div>

                    </div>

                    <div rel="yui:events" resource="#events">
                        <div class="section method details">
                            <h3 id="events">Events</h3>
                            <div class="content">
                                    <div class=" deprecated" rel="yui:event" resource="#event_keyUpdateEvent">
                                    <h4>
                                        <a name="event_keyUpdateEvent">keyUpdateEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">keyUpdateEvent</strong>

                                            (
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            
                                        </div>

                                        <div class="description">




                                            <div class="deprecated">
                                                <strong>Deprecated</strong> Use recordValueUpdateEvent
                                            </div>        
                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordAddEvent">
                                    <h4>
                                        <a name="event_recordAddEvent">recordAddEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordAddEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.record
                                                    
                                                
                                                        , 
                                                         oArgs.data
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when a new Record is added to the RecordSet.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.record</span>
                                                                &lt;<span property="yui:type">YAHOO.widget.Record</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  The Record instance.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.data</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Data added.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordDeleteEvent">
                                    <h4>
                                        <a name="event_recordDeleteEvent">recordDeleteEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordDeleteEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.data
                                                    
                                                
                                                        , 
                                                         oArgs.index
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when a Record is deleted from the RecordSet.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.data</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  The data held by the deleted Record,
or an array of data object literals if multiple Records were deleted at once.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.index</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Index of the deleted Record.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordsAddEvent">
                                    <h4>
                                        <a name="event_recordsAddEvent">recordsAddEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordsAddEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.records
                                                    
                                                
                                                        , 
                                                         oArgs.data
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when multiple Records are added to the RecordSet at once.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.records</span>
                                                                &lt;<span property="yui:type">YAHOO.widget.Record[]</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  An array of Record instances.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.data</span>
                                                                &lt;<span property="yui:type">Object[]</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Data added.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordsDeleteEvent">
                                    <h4>
                                        <a name="event_recordsDeleteEvent">recordsDeleteEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordsDeleteEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.data
                                                    
                                                
                                                        , 
                                                         oArgs.deletedData
                                                    
                                                
                                                        , 
                                                         oArgs.index
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when multiple Records are deleted from the RecordSet at once.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.data</span>
                                                                &lt;<span property="yui:type">Object[]</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  An array of deleted Records.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.deletedData</span>
                                                                &lt;<span property="yui:type">Object[]</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  An array of deleted data.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.index</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Index of the first deleted Record.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordSetEvent">
                                    <h4>
                                        <a name="event_recordSetEvent">recordSetEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordSetEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.record
                                                    
                                                
                                                        , 
                                                         oArgs.data
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when a Record is set in the RecordSet.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.record</span>
                                                                &lt;<span property="yui:type">YAHOO.widget.Record</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  The Record instance.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.data</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Data added.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordsSetEvent">
                                    <h4>
                                        <a name="event_recordsSetEvent">recordsSetEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordsSetEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.records
                                                    
                                                
                                                        , 
                                                         oArgs.data
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when multiple Records are set in the RecordSet at once.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.records</span>
                                                                &lt;<span property="yui:type">YAHOO.widget.Record[]</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  An array of Record instances.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.data</span>
                                                                &lt;<span property="yui:type">Object[]</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Data added.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordUpdateEvent">
                                    <h4>
                                        <a name="event_recordUpdateEvent">recordUpdateEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordUpdateEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.record
                                                    
                                                
                                                        , 
                                                         oArgs.newData
                                                    
                                                
                                                        , 
                                                         oArgs.oldData
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when a Record is updated with new data.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.record</span>
                                                                &lt;<span property="yui:type">YAHOO.widget.Record</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  The Record instance.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.newData</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  New data.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.oldData</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Old data.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_recordValueUpdateEvent">
                                    <h4>
                                        <a name="event_recordValueUpdateEvent">recordValueUpdateEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">recordValueUpdateEvent</strong>

                                            (
                                                
                                                        
                                                         oArgs.record
                                                    
                                                
                                                        , 
                                                         oArgs.key
                                                    
                                                
                                                        , 
                                                         oArgs.newData
                                                    
                                                
                                                        , 
                                                         oArgs.oldData
                                                    
                                                
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when a Record value is updated with new data.
                                        </div>

                                        <div class="description">


                                                <dl rel="yui:parameters">
                                                    <dt>Parameters:</dt>
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.record</span>
                                                                &lt;<span property="yui:type">YAHOO.widget.Record</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  The Record instance.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.key</span>
                                                                &lt;<span property="yui:type">String</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  The updated key.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.newData</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  New data.</span>
                                                        </dd>
                                                        
                                                        <dd rel="yui:parameter">
                                                            <code><span property="yui:name">oArgs.oldData</span>
                                                                &lt;<span property="yui:type">Object</span>&gt;
                                                            </code>
                                                            <span property="yui:description">  Old data.</span>
                                                        </dd>
                                                        
                                                </dl>


                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                                    <div class="" rel="yui:event" resource="#event_resetEvent">
                                    <h4>
                                        <a name="event_resetEvent">resetEvent</a></h4>
                                    <div class="detail">
                                        <code>
                                        
                                        
                                        
                                            <strong property="yui:name">resetEvent</strong>

                                            (
                                            )

                                        </code>
                                        
                                        <div class="description" property="yui:description">
                                            Fired when all Records are deleted from the RecordSet at once.
                                        </div>

                                        <div class="description">




                                        </div>

                                    </div>
                                    <hr />
                                    </div>
                            </div>
                        </div>


                    </div>

                    <div rel="yui:attributes" resource="#configattributes">

                    </div>

			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class=""><a href="module_animation.html" title="animation">animation</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_button.html" title="button">button</a></li>
                                <li class=""><a href="module_calendar.html" title="calendar">calendar</a></li>
                                <li class=""><a href="module_carousel.html" title="carousel">carousel</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_colorpicker.html" title="colorpicker">colorpicker</a></li>
                                <li class=""><a href="module_connection.html" title="connection">connection</a></li>
                                <li class=""><a href="module_container.html" title="container">container</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datemath.html" title="datemath">datemath</a></li>
                                <li class="selected"><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dragdrop.html" title="dragdrop">dragdrop</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_element.html" title="element">element</a></li>
                                <li class=""><a href="module_element-delegate.html" title="element-delegate">element-delegate</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_event-delegate.html" title="event-delegate">event-delegate</a></li>
                                <li class=""><a href="module_event-mouseenter.html" title="event-mouseenter">event-mouseenter</a></li>
                                <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
                                <li class=""><a href="module_get.html" title="get">get</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_imagecropper.html" title="imagecropper">imagecropper</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_layout.html" title="layout">layout</a></li>
                                <li class=""><a href="module_logger.html" title="logger">logger</a></li>
                                <li class=""><a href="module_menu.html" title="menu">menu</a></li>
                                <li class=""><a href="module_paginator.html" title="paginator">paginator</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_profilerviewer.html" title="profilerviewer">profilerviewer</a></li>
                                <li class=""><a href="module_progressbar.html" title="progressbar">progressbar</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_selector.html" title="selector">selector</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_storage.html" title="Storage">Storage</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_swf.html" title="swf">swf</a></li>
                                <li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
                                <li class=""><a href="module_swfstore.html" title="swfstore">swfstore</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_treeview.html" title="treeview">treeview</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_yahoo.html" title="yahoo">yahoo</a></li>
                                <li class=""><a href="module_yuiloader.html" title="yuiloader">yuiloader</a></li>
                                <li class=""><a href="module_yuitest.html" title="yuitest">yuitest</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="YAHOO.util.Dom.html" title="YAHOO.util.Dom">YAHOO.util.Dom</a></li>
                                <li class=""><a href="YAHOO.util.Dom.Color.html" title="YAHOO.util.Dom.Color">YAHOO.util.Dom.Color</a></li>
                                <li class=""><a href="YAHOO.util.Dom.IEStyle.html" title="YAHOO.util.Dom.IEStyle">YAHOO.util.Dom.IEStyle</a></li>
                                <li class=""><a href="YAHOO.util.Point.html" title="YAHOO.util.Point">YAHOO.util.Point</a></li>
                                <li class=""><a href="YAHOO.util.Region.html" title="YAHOO.util.Region">YAHOO.util.Region</a></li>
                                <li class=""><a href="YAHOO.util.Selector.html" title="YAHOO.util.Selector">YAHOO.util.Selector</a></li>
                                <li class=""><a href="YAHOO.widget.Record.html" title="YAHOO.widget.Record">YAHOO.widget.Record</a></li>
                                <li class="selected"><a href="YAHOO.widget.RecordSet.html" title="YAHOO.widget.RecordSet">YAHOO.widget.RecordSet</a></li>
                                <li class=""><a href="YAHOO.widget.ScrollingDataTable.html" title="YAHOO.widget.ScrollingDataTable">YAHOO.widget.ScrollingDataTable</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class=""><a href="Color.js.html" title="Color.js">Color.js</a></li>
                                <li class=""><a href="Dom.js.html" title="Dom.js">Dom.js</a></li>
                                <li class=""><a href="IEStyle.js.html" title="IEStyle.js">IEStyle.js</a></li>
                                <li class=""><a href="RecordSet.js.html" title="RecordSet.js">RecordSet.js</a></li>
                                <li class=""><a href="Region.js.html" title="Region.js">Region.js</a></li>
                                <li class=""><a href="ScrollingDataTable.js.html" title="ScrollingDataTable.js">ScrollingDataTable.js</a></li>
                                <li class=""><a href="selector-css3.js.html" title="selector-css3.js">selector-css3.js</a></li>
                                <li class=""><a href="selector-mapping.js.html" title="selector-mapping.js">selector-mapping.js</a></li>
                                <li class=""><a href="selector-native.js.html" title="selector-native.js">selector-native.js</a></li>
                        </ul>
                    </div>

                    <div id="propertyList" class="module">
                        <h4>Properties</h4>
                        <ul class="content">        
                                <li class="private deprecated"><a href="#property__length" title="_length">_length</a></li>
                                <li class="private"><a href="#property__sId" title="_sId">_sId</a></li>
                                <li class="private"><a href="#property_RecordSet._nCount" title="RecordSet._nCount">RecordSet._nCount</a></li>
                        </ul>
                    </div>

                    <div id="methodsList" class="module">
                        <h4>Methods</h4>
                        <ul class="content">        
                                <li class="private"><a href="#method__addRecord" title="_addRecord">_addRecord</a></li>
                                <li class="private"><a href="#method__deleteRecord" title="_deleteRecord">_deleteRecord</a></li>
                                <li class="private"><a href="#method__init" title="_init">_init</a></li>
                                <li class="private"><a href="#method__initEvents" title="_initEvents">_initEvents</a></li>
                                <li class="private"><a href="#method__setRecord" title="_setRecord">_setRecord</a></li>
                                <li class=""><a href="#method_addRecord" title="addRecord">addRecord</a></li>
                                <li class=""><a href="#method_addRecords" title="addRecords">addRecords</a></li>
                                <li class=""><a href="#method_deleteRecord" title="deleteRecord">deleteRecord</a></li>
                                <li class=""><a href="#method_deleteRecords" title="deleteRecords">deleteRecords</a></li>
                                <li class=""><a href="#method_getId" title="getId">getId</a></li>
                                <li class=""><a href="#method_getLength" title="getLength">getLength</a></li>
                                <li class=""><a href="#method_getRecord" title="getRecord">getRecord</a></li>
                                <li class=""><a href="#method_getRecordIndex" title="getRecordIndex">getRecordIndex</a></li>
                                <li class=""><a href="#method_getRecords" title="getRecords">getRecords</a></li>
                                <li class=""><a href="#method_hasRecords" title="hasRecords">hasRecords</a></li>
                                <li class=""><a href="#method_replaceRecords" title="replaceRecords">replaceRecords</a></li>
                                <li class=""><a href="#method_reset" title="reset">reset</a></li>
                                <li class=""><a href="#method_reverseRecords" title="reverseRecords">reverseRecords</a></li>
                                <li class=""><a href="#method_setRecord" title="setRecord">setRecord</a></li>
                                <li class=""><a href="#method_setRecords" title="setRecords">setRecords</a></li>
                                <li class=""><a href="#method_sortRecords" title="sortRecords">sortRecords</a></li>
                                <li class=""><a href="#method_toString" title="toString">toString</a></li>
                                <li class=" deprecated"><a href="#method_updateKey" title="updateKey">updateKey</a></li>
                                <li class=""><a href="#method_updateRecord" title="updateRecord">updateRecord</a></li>
                                <li class=""><a href="#method_updateRecordValue" title="updateRecordValue">updateRecordValue</a></li>
                        </ul>
                    </div>

                    <div id="eventsList" class="module">
                        <h4>Events</h4>
                        <ul class="content">        
                                <li class=" deprecated"><a href="#event_keyUpdateEvent" title="keyUpdateEvent">keyUpdateEvent</a></li>
                                <li class=""><a href="#event_recordAddEvent" title="recordAddEvent">recordAddEvent</a></li>
                                <li class=""><a href="#event_recordDeleteEvent" title="recordDeleteEvent">recordDeleteEvent</a></li>
                                <li class=""><a href="#event_recordsAddEvent" title="recordsAddEvent">recordsAddEvent</a></li>
                                <li class=""><a href="#event_recordsDeleteEvent" title="recordsDeleteEvent">recordsDeleteEvent</a></li>
                                <li class=""><a href="#event_recordSetEvent" title="recordSetEvent">recordSetEvent</a></li>
                                <li class=""><a href="#event_recordsSetEvent" title="recordsSetEvent">recordsSetEvent</a></li>
                                <li class=""><a href="#event_recordUpdateEvent" title="recordUpdateEvent">recordUpdateEvent</a></li>
                                <li class=""><a href="#event_recordValueUpdateEvent" title="recordValueUpdateEvent">recordValueUpdateEvent</a></li>
                                <li class=""><a href="#event_resetEvent" title="resetEvent">resetEvent</a></li>
                        </ul>
                    </div>


            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2011 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">

    var ALL_YUI_PROPS = [{"access": "private", "host": "YAHOO.widget.RecordSet", "name": "_addRecord", "url": "YAHOO.widget.RecordSet.html#method__addRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "addRecord", "url": "YAHOO.widget.RecordSet.html#method_addRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "addRecords", "url": "YAHOO.widget.RecordSet.html#method_addRecords", "type": "method"}, {"access": "", "host": "YAHOO.util.Selector", "name": "attrAliases", "url": "YAHOO.util.Selector.html#property_attrAliases", "type": "property"}, {"access": "private", "host": "YAHOO.widget.RecordSet", "name": "_deleteRecord", "url": "YAHOO.widget.RecordSet.html#method__deleteRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "deleteRecord", "url": "YAHOO.widget.RecordSet.html#method_deleteRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "deleteRecords", "url": "YAHOO.widget.RecordSet.html#method_deleteRecords", "type": "method"}, {"access": "", "host": "YAHOO.util.Selector", "name": "document", "url": "YAHOO.util.Selector.html#property_document", "type": "property"}, {"access": "", "host": "YAHOO.util.Selector", "name": "filter", "url": "YAHOO.util.Selector.html#method_filter", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "getId", "url": "YAHOO.widget.RecordSet.html#method_getId", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "getLength", "url": "YAHOO.widget.RecordSet.html#method_getLength", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "getRecord", "url": "YAHOO.widget.RecordSet.html#method_getRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "getRecordIndex", "url": "YAHOO.widget.RecordSet.html#method_getRecordIndex", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "getRecords", "url": "YAHOO.widget.RecordSet.html#method_getRecords", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "hasRecords", "url": "YAHOO.widget.RecordSet.html#method_hasRecords", "type": "method"}, {"access": "private", "host": "YAHOO.widget.RecordSet", "name": "_init", "url": "YAHOO.widget.RecordSet.html#method__init", "type": "method"}, {"access": "private", "host": "YAHOO.widget.RecordSet", "name": "_initEvents", "url": "YAHOO.widget.RecordSet.html#method__initEvents", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "keyUpdateEvent", "url": "YAHOO.widget.RecordSet.html#event_keyUpdateEvent", "type": "event"}, {"access": "private", "host": "YAHOO.widget.RecordSet", "name": "_length", "url": "YAHOO.widget.RecordSet.html#property__length", "type": "property"}, {"access": "", "host": "YAHOO.util.Selector", "name": "operators", "url": "YAHOO.util.Selector.html#property_operators", "type": "property"}, {"access": "", "host": "YAHOO.util.Selector", "name": "PARENT_NODE", "url": "YAHOO.util.Selector.html#property_PARENT_NODE", "type": "property"}, {"access": "", "host": "YAHOO.util.Selector", "name": "pseudos", "url": "YAHOO.util.Selector.html#property_pseudos", "type": "property"}, {"access": "", "host": "YAHOO.util.Selector", "name": "query", "url": "YAHOO.util.Selector.html#method_query", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordAddEvent", "url": "YAHOO.widget.RecordSet.html#event_recordAddEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordDeleteEvent", "url": "YAHOO.widget.RecordSet.html#event_recordDeleteEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordsAddEvent", "url": "YAHOO.widget.RecordSet.html#event_recordsAddEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordsDeleteEvent", "url": "YAHOO.widget.RecordSet.html#event_recordsDeleteEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordSetEvent", "url": "YAHOO.widget.RecordSet.html#event_recordSetEvent", "type": "event"}, {"access": "private", "host": "YAHOO.widget.RecordSet", "name": "RecordSet._nCount", "url": "YAHOO.widget.RecordSet.html#property_RecordSet._nCount", "type": "property"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordsSetEvent", "url": "YAHOO.widget.RecordSet.html#event_recordsSetEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordUpdateEvent", "url": "YAHOO.widget.RecordSet.html#event_recordUpdateEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "recordValueUpdateEvent", "url": "YAHOO.widget.RecordSet.html#event_recordValueUpdateEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "replaceRecords", "url": "YAHOO.widget.RecordSet.html#method_replaceRecords", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "reset", "url": "YAHOO.widget.RecordSet.html#method_reset", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "resetEvent", "url": "YAHOO.widget.RecordSet.html#event_resetEvent", "type": "event"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "reverseRecords", "url": "YAHOO.widget.RecordSet.html#method_reverseRecords", "type": "method"}, {"access": "private", "host": "YAHOO.widget.RecordSet", "name": "_setRecord", "url": "YAHOO.widget.RecordSet.html#method__setRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "setRecord", "url": "YAHOO.widget.RecordSet.html#method_setRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "setRecords", "url": "YAHOO.widget.RecordSet.html#method_setRecords", "type": "method"}, {"access": "", "host": "YAHOO.util.Selector", "name": "shorthand", "url": "YAHOO.util.Selector.html#property_shorthand", "type": "property"}, {"access": "private", "host": "YAHOO.widget.RecordSet", "name": "_sId", "url": "YAHOO.widget.RecordSet.html#property__sId", "type": "property"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "sortRecords", "url": "YAHOO.widget.RecordSet.html#method_sortRecords", "type": "method"}, {"access": "", "host": "YAHOO.util.Selector", "name": "test", "url": "YAHOO.util.Selector.html#method_test", "type": "method"}, {"access": "", "host": "YAHOO.util.Selector", "name": "_tokenize", "url": "YAHOO.util.Selector.html#method__tokenize", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "toString", "url": "YAHOO.widget.RecordSet.html#method_toString", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "updateKey", "url": "YAHOO.widget.RecordSet.html#method_updateKey", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "updateRecord", "url": "YAHOO.widget.RecordSet.html#method_updateRecord", "type": "method"}, {"access": "", "host": "YAHOO.widget.RecordSet", "name": "updateRecordValue", "url": "YAHOO.widget.RecordSet.html#method_updateRecordValue", "type": "method"}];
</script>
</body>
</html>
